package com.ruoyi.amuse.members.domain;


import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 社团成员对象 club_members
 * 
 * @author juwujie
 * @date 2024-07-19
 */
@AllArgsConstructor()
@NoArgsConstructor
@Data
public class ClubMembers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 社团编号 */
    @Excel(name = "社团编号")
    private Long clubId;

    /** 成员账号 */
    @Excel(name = "成员账号")
    private Long userAccount;

    /* 角色ID*/
    @Excel(name = "角色ID")
    private Integer roleId;

    private String clubName;
    /** 删除状态（0存在 2删除） */
    private String delFlag;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public ClubMembers(Long id, Long clubId, Long userAccount, String clubName, String delFlag) {
        this.id = id;
        this.clubId = clubId;
        this.userAccount = userAccount;
        this.clubName = clubName;
        this.delFlag = delFlag;
    }

    public String getClubName() {
        return clubName;
    }

    public void setClubName(String clubName) {
        this.clubName = clubName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClubId(Long clubId) 
    {
        this.clubId = clubId;
    }

    public Long getClubId() 
    {
        return clubId;
    }
    public void setUserAccount(Long userAccount) 
    {
        this.userAccount = userAccount;
    }

    public Long getUserAccount() 
    {
        return userAccount;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clubId", getClubId())
            .append("userAccount", getUserAccount())
                .append("roleId", getRoleId())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
